package com.henary.annotation.bean;

import cn.hutool.json.JSONUtil;

/**
 * @author henary
 * @date 2022年09月19日 15:04
 */
public class Book {
	private String bookName;

	public Book() {
	}

	public Book(String bookName) {
		this.bookName = bookName;
	}

	@Override
	public String toString() {
		return "Book{" +
				"bookName='" + bookName + '\'' +
				'}';
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public static void main(String[] args) {
		Book book=new Book("131");
		System.out.printf(JSONUtil.toJsonStr(book));
	}
}
